<?php
class Api{
    function post($req){
        $hash = $req->body->hash;
        $row = pt\db\Mysql::init()->row("select *,id as `key` from mob_page where hash = ?",$hash);
        $row['items'] = json_decode($row['items']);
        return $row;
    }
}
